import request from '@/utils/request'

// 查询施肥机v1历史记录列表
export function listFertilizerDistributorV1Log(query) {
    return request({
        url: '/app-api/report/fertilizerDistributorV1Log/list',
        method: 'get',
        params: query
    })
}

// 查询施肥机v1历史记录详细
export function getFertilizerDistributorV1Log(id) {
    return request({
        url: '/app-api/report/fertilizerDistributorV1Log/' + id,
        method: 'get'
    })
}

// 新增施肥机v1历史记录
export function addFertilizerDistributorV1Log(data) {
    return request({
        url: '/app-api/report/fertilizerDistributorV1Log',
        method: 'post',
        data: data
    })
}

// 修改施肥机v1历史记录
export function updateFertilizerDistributorV1Log(data) {
    return request({
        url: '/app-api/report/fertilizerDistributorV1Log',
        method: 'put',
        data: data
    })
}

// 删除施肥机v1历史记录
export function delFertilizerDistributorV1Log(id) {
    return request({
        url: '/app-api/report/fertilizerDistributorV1Log/' + id,
        method: 'delete'
    })
}
